home *** CD-ROM | disk | FTP | other *** search
/ InfoMagic Internet Tools 1993 July / Internet Tools.iso / RockRidge / security / ipacl / matcher.h < prev    next >
Encoding:
C/C++ Source or Header  |  1992-06-24  |  550 b   |  47 lines

  1.  
  2. /* Copyright (C) Gerhard Fuernkranz 1992 */
  3.  
  4. typedef enum opcode {
  5.     /* accept, deny, jmp cond., jump */
  6.     UACCEPT,
  7.     UDENY,
  8.     TACCEPT,
  9.     TDENY,
  10.     FACCEPT,
  11.     FDENY,
  12.     TJMP,
  13.     FJMP,
  14.     JMP,
  15.     /* source address comparison */
  16.     SAEQ,
  17.     SANE,
  18.     SAIN,
  19.     SANIN,
  20.     /* destination address comparison */
  21.     DAEQ,
  22.     DANE,
  23.     DAIN,
  24.     DANIN,
  25.     /* source port comparison */
  26.     SPIN,
  27.     SPNIN,
  28.     SPEQ,
  29.     SPNE,
  30.     SPLT,
  31.     SPGT,
  32.     SPLE,
  33.     SPGE,
  34.     /* destination port comparison */
  35.     DPEQ,
  36.     DPNE,
  37.     DPLT,
  38.     DPGT,
  39.     DPLE,
  40.     DPGE,
  41.     DPIN,
  42.     DPNIN,
  43.     /* end of opcodes */
  44.     LASTOPCODE
  45. } OPCODE;
  46.  
  47.